package com.nuanshui.heatedloan.socket.service;

import com.nuanshui.heatedloan.socket.ProtoMsg;
import io.netty.channel.ChannelHandlerContext;

/**
 * @author zss
 * @date 2017/6/7
 * @description  优化从接口调用TcpServer中send方法，将TcpServer从Controller解耦
 */
public interface TcpServerService {

    /**
     *
     * @param builder
     * @param chct
     */
    void invokeSend(ProtoMsg.Msg.Builder builder, ChannelHandlerContext chct);

}
